Skip to content

feat(basics): 3d transform components - #30

Merged
Tchips46 merged 1 commit into
mainfrom
feat/3d-transform-components
Nov 16, 2026
Merged

Tchips46 merged 1 commit into
mainfrom
feat/3d-transform-components

Conversation

@Tchips46

Copy link
Copy Markdown
Member

What

  • New @nanoforge/basics-3d: Position3D, Rotation3D (degrees), Scale3D (default 1), Velocity3D, Acceleration3D and move3D. Plain numbers, no three, usable from server and shared code.
  • Rename @nanoforge/basics → @nanoforge/basics-2d, with its imports, the dependent manifests and the docs.

Why

3D entities need a transform that doesn't depend on Three.js (#21). basics stays 2D-only since every new project installs it, and -2d/-3d matches the other packages.

Notes

  • basics-2d keeps version: 2.0.0: it isn't on the registry under that name, so the release publishes 2.0.0 and the ^2.0.0 ranges resolve. @nanoforge/basics is no longer updated.
  • move3D sits next to move2D in the order of the systems.

Closes #25

@Tchips46 Tchips46 self-assigned this Nov 13, 2026
@Tchips46
Tchips46 merged commit 6f1c2fc into main Nov 16, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3D transform components: Position3D, Rotation3D and Scale3D

2 participants